home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / gfx / vtdevel3.lha / Include / devices / clipboard.i < prev    next >
Text File  |  1992-09-24  |  2KB  |  76 lines

  1.     IFND    DEVICES_CLIPBOARD_I
  2. DEVICES_CLIPBOARD_I  EQU   1
  3. **
  4. **    $VER: clipboard.i 36.5 (02.11.90)
  5. **    Includes Release 39.108
  6. **
  7. **    clipboard.device structure definitions
  8. **
  9. **    (C) Copyright 1985-1992 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND    EXEC_TYPES_I
  14.     INCLUDE    "exec/types.i"
  15.     ENDC
  16.     IFND    EXEC_NODES_I
  17.     INCLUDE    "exec/nodes.i"
  18.     ENDC
  19.     IFND    EXEC_LISTS_I
  20.     INCLUDE    "exec/lists.i"
  21.     ENDC
  22.     IFND    EXEC_PORTS_I
  23.     INCLUDE    "exec/ports.i"
  24.     ENDC
  25.     IFND    EXEC_IO_I
  26.     INCLUDE    "exec/io.i"
  27.     ENDC
  28.  
  29.     DEVINIT
  30.  
  31.     DEVCMD    CBD_POST
  32.     DEVCMD    CBD_CURRENTREADID
  33.     DEVCMD    CBD_CURRENTWRITEID
  34.     DEVCMD    CBD_CHANGEHOOK
  35.  
  36. CBERR_OBSOLETEID    EQU    1
  37.  
  38.  
  39.  STRUCTURE  ClipboardUnitPartial,0
  40.     STRUCT  cu_Node,LN_SIZE    ; list of units
  41.     ULONG   cu_UnitNum        ; unit number for this unit
  42.     ; the remaining unit data is private to the device
  43.  
  44.  
  45.  STRUCTURE  IOClipReq,0
  46.     STRUCT  io_Message,MN_SIZE
  47.     APTR    io_Device        ; device node pointer
  48.     APTR    io_Unit        ; unit node pointer (ClipboardUnitPartial)
  49.     UWORD   io_Command        ; device command
  50.     UBYTE   io_Flags        ; including QUICK and SATISFY
  51.     BYTE    io_Error        ; error or warning num
  52.     ULONG   io_Actual        ; number of bytes transferred
  53.     ULONG   io_Length        ; number of bytes requested
  54.     APTR    io_Data        ; either clip stream or post port
  55.     ULONG   io_Offset        ; offset in clip stream
  56.     LONG    io_ClipID        ; ordinal clip identifier
  57.     LABEL   iocr_SIZEOF
  58.  
  59.  
  60.  
  61. PRIMARY_CLIP    EQU    0    ; primary clip unit
  62.  
  63.  STRUCTURE  SatisfyMsg,0
  64.     STRUCT  sm_Msg,MN_SIZE    ; the length will be 6
  65.     UWORD   sm_Unit        ; which clip unit this is
  66.     LONG    sm_ClipID        ; the clip identifier of the post
  67.     LABEL   satisfyMsg_SIZEOF
  68.  
  69.  STRUCTURE  ClipHookMsg,0
  70.     ULONG   chm_Type        ; zero for this structure format
  71.     LONG    chm_ChangeCmd;    ; command that caused this hook invocation:
  72.                 ;   either CMD_UPDATE or CBD_POST
  73.     LONG    chm_ClipID        ; the clip identifier of the new data
  74.  
  75.     ENDC    ; DEVICES_CLIPBOARD_I
  76.